package com.gjy.stream;

import com.google.common.collect.Lists;
import org.junit.jupiter.api.Test;

import java.util.ArrayList;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-04-18 15:10:44
 */
public class CollectTest2 {

    @Test
    public void test1() {
        ArrayList<String> strings = Lists.newArrayList("883344", "123213", "343112", "120594");
        String collect = String.join(",", strings);
        System.out.println("collect = " + collect);
    }

}
